package com.linkin.homepage.app

import android.app.Application
import android.content.Context

class DemoApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        mApplication = this
    }

    companion object {
        private var mApplication: DemoApplication? = null

        fun getApplication(): Context? {
            return mApplication
        }

        fun getMarsApp(): DemoApplication? {
            return mApplication
        }
    }

}